#!/bin/bash

while read f; do
    case "$1" in
        w) feh --bg-scale "$f";;
        C-c) echo -n "$f" | xclip -selection clipboard;;
        D) rm "$f";;
    esac
done
